package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.Terminal;

public interface TerminalRepository {
    Terminal findById(String merchantId, String branchId, String terminalId);
    
    List<String> insertBatch(List<Terminal> terminals);
    List<String> updateBatch(List<Terminal> terminals);
    void update(Terminal terminal);
    
    void delete(String merchantId, String branchId, String terminalId);

    Terminal findByActivationCode(String code);

    void clearActivationCode(String code);
}
